[VERSN2]

unlock_memory all

if directory_exists absolute "CARS\BMWM3E30"
do
else
create_folder absolute "CARS\BMWM3E30"
end

move_file override relative absolute "CARS\BMWM3E30\GEOMETRY.BIN" "CARS\BMWM3E30\GEOMETRY.BIN"
move_file override relative absolute "CARS\BMWM3E30\TEXTURES.BIN" "CARS\BMWM3E30\TEXTURES.BIN"
combobox "x512" "x1024" "Choose the resolution of vinyls"
"x512"
move_file override relative absolute "CARS\BMWM3E30\VINYLS.BIN" "CARS\BMWM3E30\VINYLS.BIN"
"x1024"
move_file override relative absolute "CARS\BMWM3E30\VINYLSx1024.BIN" "CARS\BMWM3E30\VINYLS.BIN"
end
move_file override relative absolute "BMWM3E30.ini" "scripts\UnlimiterData\BMWM3E30.ini"

if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks DEFAULT SECONDARY_LOGO_M3E30 SECONDARY_LOGO_M3E30 "SECONDARY_LOGO_M3E30.dds"
else
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_M3E30 SECONDARY_LOGO_M3E30 "SECONDARY_LOGO_M3E30.dds"
end

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_BMW_M3E30 "BMW M3 E30 Sport Evolution"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_LOGO "M3 Logo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_LOGO_NO "None"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_GRILL_STOCK "Stock Grill"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_GRILL_LINEAR "Linear Plastic Grill"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_GRILL_LINEAR_CHROME "Linear Chrome Grill"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_M3E30_GRILL_LINEAR_COLOR "Linear Colored Grill"

if collection_exists GLOBAL\GLOBALB.LZC TPKBlocks DEFAULT
do
add_or_replace_texture GLOBAL\GLOBALB.LZC TPKBlocks DEFAULT TIRE_STYLE01 TIRE_STYLE01 "TIRE_STYLE01.dds"
else
add_or_replace_texture GLOBAL\GLOBALB.LZC TPKBlocks GLOBALTEXTURES TIRE_STYLE01 TIRE_STYLE01 "TIRE_STYLE01.dds"
end

import override GLOBAL\GLOBALB.LZC CarTypeInfos BMWM3E30_CarTypeInfos.bin
import override GLOBAL\GLOBALB.LZC Collisions BMWM3E30_Collisions.bin
import override GLOBAL\GLOBALB.LZC DBModelParts BMWM3E30_DBModelParts.bin
import override GLOBAL\GLOBALB.LZC SlotOverrides BMWM3E30_SlotOverrides.bin